package com.hualan.service.service.service.wsj;

import com.hualan.mapper.wsj.ArticleMapper;
import com.hualan.pojo.wsj.Article;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ArticleServiceImpl implements ArticleService {
    @Autowired
    private ArticleMapper articleMapper;

    public List<Article> listAll() {
        return articleMapper.listAll();
    }

    public List<Article> findLike(String title) {
        return articleMapper.findLike(title);
    }
}
